package camel.corp.universalcopy;

import android.content.Context;
import android.preference.SwitchPreference;
import android.util.AttributeSet;
import android.view.View;
import androidx.appcompat.widget.SwitchCompat;
import com.camel.corp.universalcopy.MaterialSwitchPreference;
import com.camel.corp.universalcopy.Q;

public class MaterialSwitchPreference extends SwitchPreference {
  public MaterialSwitchPreference(Context paramContext, AttributeSet paramAttributeSet) {
    super(paramContext, paramAttributeSet);
    setWidgetLayoutResource(2131492954);
  }
  
  protected void onBindView(View paramView) {
    super.onBindView(paramView);
    SwitchCompat switchCompat = (SwitchCompat)paramView.findViewById(2131296444);
    if (switchCompat != null) {
      switchCompat.setTextOn(getSwitchTextOn());
      switchCompat.setTextOff(getSwitchTextOff());
      switchCompat.setOnCheckedChangeListener(new Q(this));
      switchCompat.setChecked(getSharedPreferences().getBoolean(getKey(), false));
    } 
  }
}


/* Location:              D:\Users\alienware\AndroidStudioProjects\Lazero\sample\sampler\classes-dex2jar\com\camel.jar!\camel\cor\\universalcopy\MaterialSwitchPreference.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.0.7
 */